package com.example.service;

import com.alibaba.fastjson.JSONObject;
import com.example.entity.Address;

import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public interface AddressService {
    public Address selectByAddress(String address);
    public Address selectById(Long id);
    public boolean deleteById(Long id);

    JSONObject selectAll();

    JSONObject update(Address address);

    JSONObject insert(Address address);
}
